package com.unhz.taigu.service.file.impl;


import com.unhz.generator.pojo.InsoleImage;
import com.unhz.generator.utils.service.impl.FileUtilServiceImpl;
import com.unhz.taigu.service.file.FileManagerService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2017/11/18 0018.
 */
@Service
public class FileManagerServiceImpl implements FileManagerService {
    @Override
    public int insertFile(InsoleImage insoleImage) {
        return 0;
    }

    @Override
    public int deleteFile(Integer id) {
        return 0;
    }

/*    @Autowired
    private FileMapper fileManager;

    private Logger LOG = LoggerFactory.getLogger(FileUtilServiceImpl.class);

    @Override
    public int insertFile(BTFile file) {
        return fileManager.insertFile(file);
    }

    @Override
    public List<BTFile> selectByUserId(Integer userId,Integer fileType) {
        return fileManager.selectByUserId(userId,fileType);
    }

    @Override
    public void updateById(BTFile files) {
        fileManager.updateById(files);
    }

    @Override
    public List<BTFile> findByAll(String userName,String fileStyle,Integer fileType,String keywords) {
        return fileManager.findByAll(userName,fileStyle,fileType,keywords);
    }

    @Override
    public List<BTFile> selectAll(String userName) {
        return fileManager.selectAll(userName);
    }

    @Override
    public List<BTFile> searchFile(Integer userId, String fileName) {
        return fileManager.searchFile(userId,fileName);
    }

    @Override
    public List<BTFile> searchName(Integer userId, String fileName) {
        return fileManager.searchFile(userId,fileName);
    }

    @Override
    public int deleteFile(Integer id) {
        return fileManager.deleteFile(id);
    }*/

}
